package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class Depot {
    private Long id;

    private String name; //仓库名称

    private String sn; //仓库编号

    private Boolean status; //状态

    private String phone; //联系电话

    private String address; //仓库地址

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputTime; //录入时间

}